package com.ldzy.pojo;

public class Bean4 {
    private String name;
    private  Bean3 bean3;

    public Bean4() {
        System.out.println("我是构造方法实例化");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Bean3 getBean3() {
        return bean3;
    }

    public void setBean3(Bean3 bean3) {
        this.bean3 = bean3;
    }

    @Override
    public String toString() {
        return "Bean4{" +
                "name='" + name + '\'' +
                ", bean3=" + bean3 +
                '}';
    }
}
